home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1998 March / Software of the Month Club 1998 March.iso / mac / Latest & Greatest / PowerReplace 6.3 / Filter / 4. Collection.sit / 4. Collection / Marc MolinÈ / Html -> tÈxt next >
Text File  |  1996-03-03  |  2KB  |  88 lines

  1. % Change HTML file to readable text file.
  2. % Convert first accented letters to HTML convention,
  3. % then delete all link <........>, then strip space using pattern,...
  4. % Guoniu Han, 1996/03/03.
  5. % Additional html codes by Marc MolinÄ
  6.  
  7. "<HR>" "\r----------------------------------\r"
  8. "á"   "ç"
  9. "à"   "ê"
  10. "â"    "ë"
  11. "ä"     "è"
  12. "å"     "î"
  13. "æ"    "╛"
  14. "Á"   "τ"
  15. "À"   "╦"
  16. "Â"    "σ"
  17. "Ä"     "Ç"
  18. "Å"     "ü"
  19. "Æ"    "«"
  20. "ª"     "╗"
  21. "¢"     "ó"
  22. "©"     "⌐"
  23. "ç"   "ì"
  24. "Ç"   "é"
  25. "é"   "Ä"
  26. "è"   "Å"
  27. "ê"    "É"
  28. "ë"     "æ"
  29. "É"   "â"
  30. "Ë"     "Φ"
  31. "Ê"    "µ"
  32. "È"   "Θ"
  33. "í"   "Æ"
  34. "ì"   "ô"
  35. "î"    "ö"
  36. "ï"     "ò"
  37. "Í"   "Ω"
  38. "Ì"   "φ"
  39. "Î"    "δ" 
  40. "Ï"     "∞"
  41. "ó"   "ù"
  42. "ò"   "ÿ"
  43. "ô"    "Ö"
  44. "ö"     "Ü"
  45. "\\oe "      "╧"
  46. "Ó"   "ε"
  47. "Ò"   "±"
  48. "Ô"    "∩"
  49. "Ö"     "à"
  50. "\\OE "      "╬"
  51. "º"     "╝"
  52. "ñ"   "û"
  53. "Ñ"   "ä"
  54. "ß"    "º"
  55. "ú"   "£"
  56. "ù"   "¥"
  57. "û"    "₧"
  58. "ü"     "ƒ" 
  59. "Ú"   "≥"
  60. "Ù"   "⌠"
  61. "Û"    "≤"
  62. "Ü"     "å"
  63. "<"       "<"
  64. ">"       ">"
  65.  
  66. %delete link <....>
  67. "<*>"                 " "
  68. "\n"     "\r"
  69. "<BR>" "\r"
  70.  
  71. % strip space using pattern
  72. % Guoniu Han, 1996/2/20
  73.  
  74. %change tab to space, how type tab using pattern?
  75. "\t"        " "
  76.  
  77. %skip spaces in the begin and the end of lines
  78. '^ +'        ""
  79. ' +$'        ""
  80.  
  81. %change more two space to one space
  82. '  +'         " "
  83. %strip v-space
  84. "\r\r\r\r" "\r\r"
  85. "\r\r\r" "\r\r"
  86. "\r\r\r" "\r\r"
  87.  
  88. %end